import request from "@/utils/request";
// let baseURL = "http://localhost:8080/";

// let baseUrl = 'http://10.168.1.213:8064'
// let baseUrl = 'http://10.168.1.123:8064'   //测试环境
// let baseUrl = 'http://10.168.1.222:8064'
let baseUrl = ''

// 变电站树结构
export function queryTreeData(data) {
  return request({
    url: baseUrl+"/es/common/substation/info",
    method: "post",
    data: data || {},
  });
}

// 规划树结构
export function queryPlansData(data) {
  return request({
    url: baseUrl+"/es/common/plans/info",
    method: "post",
    data: data || {},
  });
}


